package com.feri.rbacsys.entity.finance;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * (OrderMeet)表实体类
 *
 * @author makejava
 * @since 2023-03-28 08:33:59
 */
@SuppressWarnings("serial")
@Data
@TableName("t_order_meet")
@NoArgsConstructor
@AllArgsConstructor
public class OrderMeet extends Model<OrderMeet> {
    //单据号[后端生成]
    private String id;
    //关联单号
    private String relevanceNum;
    //时间
    private Date time;
    //收支类型[关联t_data_business_type表],对应business_type里的id
    private Integer businessType;
    //客户
    private String customer;
    //应收金额
    private BigDecimal shouldMoney;
    //实收金额
    private BigDecimal actualMoney;
    //单据类型,对应vocation_type的id
    private Integer orderType;
    //单据状态,1.未审核 2.已审核 3.审核未通过
    private Integer orderStatus;
    //核销状态,0.已入账 1.未入账
    private Integer checkStatus;
    //来源店铺
    private String shopName;
    //备注
    private String remarks;

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
    }

